import { mapGetters } from 'vuex'
import event from '../event.js';


const mixin = {
  data() {
    return {
      exportEchartBg:'#fff' // 导出图片背景图
    }
  },
  computed: {
    ...mapGetters(['navCurrentId'])
  },
  beforeDestroy(){
    // 解除事件绑定
    event.$off('asyncDate',this.asyncDate);
  },
  mounted(){
    event.$on('asyncDate',this.asyncDate);
  },
  methods: {

  },
};
export default mixin
